import { ref } from "vue";
let schoolOption = ref([])

export const formColumn = [
	{
		component: "el-input",
		label: "美妆顾问",
		prop: "studentName",
	},
	{
		component: "el-select",
		label: "片区",
		prop: "studentName",
    options: [
      {value: "片区1", label: "片区1"},
      {value: "片区2", label: "片区2"},
    ],
    on:{
      change: (val) =>{
        console.log(val);
        schoolOption.value =[
          {value: "片区1", label: "片区1"},
          {value: "片区2", label: "片区2"},
        ]
        // searchParam['studentName32'] = ""
      }
    }
	},  
  // 父子联动
	{
		label: "校区",
		prop: "studentName32",
    component: "el-select",
    options: schoolOption.value,
	},
]

export const cloumn = [
  {
    fixed: "left",
    label: "",
    children: [
      {
        label: "",
        children: [
          {
            label: "本月业绩目标&当日",
            align: "right",
            children: [
              {
                prop: "school",
                width: "120",
                label: "片区",
              },
              {
                prop: "school",
                width: "120",
                label: "校区（校长）",
              },
              {
                prop: "school",
                width: "120",
                label: "本月业绩目标",
              },
            ]
          }
        ]
      }
    ]
  },
  {
    label: "",
    children: [
      {
        label: "本月总目标数据管理(前台+科目老师)",
        children: [
          {
            align: "left",
            label: "完成业绩(截至目前累计)",
            children: [
              // {
              //   prop: "school",
              //   width: "120",
              //   label: "校区（校长）",
              // },
              // {
              //   prop: "school",
              //   width: "120",
              //   label: "本月业绩目标",
              // },
              {
                prop: "school",
                width: "120",
                label: "本月完成业绩"
              },
              {
                prop: "school",
                width: "120",
                label: "业绩达标率"
              }
            ]
          },
          {
            label: "一销招生数据(截至目前累计)",
            children: [
              {
                prop: "school",
                width: "120",
                label: "本月招生业绩目标"
              },
              {
                prop: "school",
                width: "120",
                label: "完成业绩"
              },
              {
                prop: "school",
                width: "120",
                label: "本月招生人数目标"
              },
              {
                prop: "school",
                width: "120",
                label: "完成人数"
              },
              {
                prop: "school",
                width: "120",
                label: "招生人数达标率"
              }
            ]
          },
          {
            label: "二销套餐数据(截至目前累计)",
            children: [
              {
                prop: "school",
                width: "120",
                label: "本月套餐业绩目标"
              },
              {
                prop: "school",
                width: "120",
                label: "完成业绩"
              },
              {
                prop: "school",
                width: "120",
                label: "本月套餐人数目标"
              },
              {
                prop: "school",
                width: "120",
                label: "完成人数"
              },
              {
                prop: "school",
                width: "120",
                label: "套餐人数达标率"
              }
            ]
          },
          {
            label: "其他业绩(截至目前累计)",
            children: [
              {
                prop: "school",
                width: "120",
                label: "本月其他业绩目标"
              },
              {
                prop: "school",
                width: "120",
                label: "其他业绩完成（如预定等）"
              },
              {
                prop: "school",
                width: "120",
                label: "本月其他人数目标"
              },
              {
                prop: "school",
                width: "120",
                label: "其他人数完成（如预定等）"
              }
            ]
          },
        ]
      }
    ]
  },
  // 美妆顾问明细表
  {
    label: "美妆顾问明细表",
    children: [
      {
        label: "",
        children: [
          {
            label: "前台姓名（美妆顾问）",
            children: []
          }
        ]
      },
      {
        label: "",
        children: [
          {
            label: "职位",
            children: []
          }
        ]
      },
      {
        label: "（美妆顾问）本月总目标数据管理",
        children: [
          {
            label: "本月业绩目标&当日完成业绩（截至目前累计）",
            children: [
              {
                prop: "name",
                label: "本月业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "总完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "业绩达标率",
                width: "120"
              }
            ]
          },
          {
            label: "一销招生数据（截至目前累计）",
            children: [
              {
                prop: "name",
                label: "本月招生业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "本月招生人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              },
              {
                prop: "name",
                label: "招生人数达标率",
                width: "120"
              }
            ]
          },
          {
            label: "二销招生数据（截至目前累计）",
            children: [
              {
                prop: "name",
                label: "本月套餐业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "本月套餐人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              },
              {
                prop: "name",
                label: "套餐人数达标率",
                width: "120"
              }
            ]
          },
          {
            label: "其他月绩（截至目前累计）",
            children: [
              {
                prop: "name",
                label: "本月其他业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "其他业绩完成（如预定等）",
                width: "120"
              },
              {
                prop: "name",
                label: "本月其他餐人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "其他人数完成（如预定等）",
                width: "120"
              }
            ]
          },
        ]
      },
      {
        label: "一销招生数据",
        children: [
          {
            label: "单科目标（请对应至后方招生科目明细中区分科目人数）",
            children: [
              {
                prop: "name",
                label: "单科业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "单科人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "多科目标（请对应至后方招生科目明细中区分科目人数）",
            children: [
              {
                prop: "name",
                label: "多科业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "多科人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
        ]
      },
      {
        label: "招生科目明细（此项只需美妆顾问填写）在相应的科目下填实际招生（全款+补交清）人头数",
        children: [
          {
            label: "化妆",
            children: [
              {
                prop: "name",
                label: "白课",
                width: "120"
              },
              {
                prop: "name",
                label: "晚课",
                width: "120"
              },
              {
                prop: "name",
                label: "周末课",
                width: "120"
              }
            ]
          },
          {
            label: "美甲",
            children: [
              {
                prop: "name",
                label: "白课",
                width: "120"
              },
              {
                prop: "name",
                label: "晚课",
                width: "120"
              },
              {
                prop: "name",
                label: "周末课",
                width: "120"
              }
            ]
          },
          {
            label: "美容",
            children: [
              {
                prop: "name",
                label: "白课",
                width: "120"
              },
              {
                prop: "name",
                label: "晚课",
                width: "120"
              },
              {
                prop: "name",
                label: "周末课",
                width: "120"
              }
            ]
          },
          {
            label: "美发",
            children: [
              {
                prop: "name",
                label: "白课",
                width: "120"
              },
              {
                prop: "name",
                label: "晚课",
                width: "120"
              },
              {
                prop: "name",
                label: "周末课",
                width: "120"
              }
            ]
          },
          {
            label: "其他",
            children: [
              {
                prop: "name",
                label: "纹绣",
                width: "120"
              },
              {
                prop: "name",
                label: "美睫",
                width: "120"
              }
            ]
          },
        ]
      },
      {
        label: "美妆顾问）二销套餐数据",
        children: [
          {
            label: "11800套餐（核心技术系列）妆",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "18800套餐（技术就业系列）",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "28800套餐（综合就业系列）",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "29800套餐（化妆技术研修系列）",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "59800套餐（弟子班）",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "学历教育",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "代理商",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
          {
            label: "四轮驱动",
            children: [
              {
                prop: "name",
                label: "业绩目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "人数目标",
                width: "120"
              },
              {
                prop: "name",
                label: "完成人数",
                width: "120"
              }
            ]
          },
        ]
      },
      {
        label: "渠道建设",
        children: [
          {
            label: "团购",
            children: [
              {
                prop: "name",
                label: "团购资源数",
                width: "120"
              },
              {
                prop: "name",
                label: "到校人数",
                width: "120"
              },
              {
                prop: "name",
                label: "成交业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "成交人数",
                width: "120"
              },
              {
                prop: "name",
                label: "团购业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "团购人数",
                width: "120"
              },
              {
                prop: "name",
                label: "预定业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "预定人数",
                width: "120"
              },
              {
                prop: "name",
                label: "转化率",
                width: "120"
              },
            ]
          },
          {
            label: "网络资源",
            children: [
              {
                prop: "name",
                label: "网络资源数",
                width: "120"
              },
              {
                prop: "name",
                label: "到校人数",
                width: "120"
              },
              {
                prop: "name",
                label: "成交业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "成交人数",
                width: "120"
              },
              {
                prop: "name",
                label: "全款业绩（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "全款人数（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "预定业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "预定人数",
                width: "120"
              },
              {
                prop: "name",
                label: "转化率",
                width: "120"
              },
            ]
          },
          {
            label: "自到校",
            children: [
              {
                prop: "name",
                label: "资源人数",
                width: "120"
              },
              {
                prop: "name",
                label: "到校人数",
                width: "120"
              },
              {
                prop: "name",
                label: "成交业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "成交人数",
                width: "120"
              },
              {
                prop: "name",
                label: "全款业绩（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "全款人数（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "预定业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "预定人数",
                width: "120"
              },
              {
                prop: "name",
                label: "转化率",
                width: "120"
              },
            ]
          },
          {
            label: "转介绍",
            children: [
              {
                prop: "name",
                label: "资源人数",
                width: "120"
              },
              {
                prop: "name",
                label: "到校人数",
                width: "120"
              },
              {
                prop: "name",
                label: "成交业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "成交人数",
                width: "120"
              },
              {
                prop: "name",
                label: "全款业绩（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "全款人数（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "预定业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "预定人数",
                width: "120"
              },
              {
                prop: "name",
                label: "转化率",
                width: "120"
              },
            ]
          },
          {
            label: "实操地推",
            children: [
              {
                prop: "name",
                label: "资源人数",
                width: "120"
              },
              {
                prop: "name",
                label: "到校人数",
                width: "120"
              },
              {
                prop: "name",
                label: "成交业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "成交人数",
                width: "120"
              },
              {
                prop: "name",
                label: "全款业绩（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "全款人数（含补交）",
                width: "120"
              },
              {
                prop: "name",
                label: "预定业绩",
                width: "120"
              },
              {
                prop: "name",
                label: "预定人数",
                width: "120"
              },
              {
                prop: "name",
                label: "转化率",
                width: "120"
              },
            ]
          },
        ]
      },
    ]
  },
  // 科目老师明细表
  {
    label: "科目老师明细表",
    children: [
      {
        label: "",
        children: [
          {
            label: "科目老师姓名",
            prop: "name",
            width: "120",
            children: []
          },
          {
            label: "学科科目",
            prop: "name",
            width: "120",
            children: []
          }
        ]
      },
      {
        label: "(科目老师)本月总目标数据管理",
        children: [
          {
            label: "本月业绩目标&当日完成业绩",
            children: [
              {
                label: "本月业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "总完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "业绩达标率",
                prop: "name",
                width: "120",
              }
            ]
          },
          {
            label: "一销招生数据",
            children: [
              {
                label: "本月招生业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "本月招生人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120",
              },
              {
                label: "招生人数达标率",
                prop: "name",
                width: "120",
              },
            ]
          },
          {
            label: "二销招生数据",
            children: [
              {
                label: "本月套擦业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "本月套餐人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120",
              },
              {
                label: "套餐人数达标率",
                prop: "name",
                width: "120",
              },
            ]
          },
          {
            label: "其他业绩（截至目前累计）",
            children: [
              {
                label: "本月其他业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "其他业绩完成（如预定等）",
                prop: "name",
                width: "120",
              },
              {
                label: "本月其他人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "其他人数完成（如预定等）",
                prop: "name",
                width: "120",
              },
            ]
          },
        ]
      },
      {
        label: "一销招生数据明细",
        children: [
          {
            label: "单科目标",
            children: [
              {
                label: "单科业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "单科人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "多科目标",
            children: [
              {
                label: "多科业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "多科人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
        ]
      },
      {
        label: "（学科老师）二销套餐数据",
        children: [
          {
            label: "18800套餐（技术就业系列）",
            children: [
              {
                label: "业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "28800套餐（综合就业系列）",
            children: [
              {
                label: "业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "29800套餐（化妆技术研修系列）",
            children: [
              {
                label: "业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "59800套餐（弟子班）",
            children: [
              {
                label: "业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "学历教育",
            children: [
              {
                label: "业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "代理商",
            children: [
              {
                label: "业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "四轮驱动",
            children: [
              {
                label: "业绩目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成业绩",
                prop: "name",
                width: "120",
              },
              {
                label: "人数目标",
                prop: "name",
                width: "120",
              },
              {
                label: "完成人数",
                prop: "name",
                width: "120"
              },
            ]
          },
        ]
      },
      {
        label: "班级转化明细",
        children: [
          {
            label: "套餐总体转化情况",
            children: [
              {
                label: "班级总人数",
                prop: "name",
                width: "120",
              },
              {
                label: "班级上月末毕业学员人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日班级新进人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日新报套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "截止上月套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐总人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐转化率",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "白课学员情况",
            children: [
              {
                label: "班级总人数",
                prop: "name",
                width: "120",
              },
              {
                label: "班级上月末毕业学员人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日班级新进人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日新报套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "截止上月套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐总人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐转化率",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "晚课学员情况",
            children: [
              {
                label: "班级总人数",
                prop: "name",
                width: "120",
              },
              {
                label: "班级上月末毕业学员人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日班级新进人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日新报套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "截止上月套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐总人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐转化率",
                prop: "name",
                width: "120"
              },
            ]
          },
          {
            label: "周末课学员情况",
            children: [
              {
                label: "班级总人数",
                prop: "name",
                width: "120",
              },
              {
                label: "班级上月末毕业学员人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日班级新进人数",
                prop: "name",
                width: "120",
              },
              {
                label: "今日新报套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "截止上月套餐人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐总人数",
                prop: "name",
                width: "120"
              },
              {
                label: "套餐转化率",
                prop: "name",
                width: "120"
              },
            ]
          },
        ]
      },
    ]
  }
] 